package cn.kone.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Teacher {

    @Excel(name = "教师ID",orderNum = "1",width = 30)
    private Long id;

    @Excel(name = "教师姓名",orderNum = "2",width = 30)
    private String name;

    @Excel(name = "教师年龄",orderNum = "3",width = 30)
    private Integer age;

    @Excel(name = "教师性别",orderNum = "4",replace = {"男_1","女_0"},width = 30)
    private String sex;

    @Excel(name = "教师职位",orderNum = "5",width = 30)
    private String position;

    @Excel(name = "教师学科",orderNum = "6",width = 30)
    private String subject;


}
